package com.sqfw.project.learnRecord.mapper;

import java.util.List;
import com.sqfw.project.learnRecord.domain.LearnRecordInfo;

/**
 * 录音学习Mapper接口
 *
 * @author zsj
 * @date 2024-09-23
 */
public interface LearnRecordInfoMapper
{
    /**
     * 查询录音学习
     *
     * @param id 录音学习主键
     * @return 录音学习
     */
    public LearnRecordInfo selectLearnRecordInfoById(Long id);

    /**
     * 查询录音学习列表
     *
     * @param learnRecordInfo 录音学习
     * @return 录音学习集合
     */
    public List<LearnRecordInfo> selectLearnRecordInfoList(LearnRecordInfo learnRecordInfo);

    /**
     * 新增录音学习
     *
     * @param learnRecordInfo 录音学习
     * @return 结果
     */
    public int insertLearnRecordInfo(LearnRecordInfo learnRecordInfo);

    /**
     * 修改录音学习
     *
     * @param learnRecordInfo 录音学习
     * @return 结果
     */
    public int updateLearnRecordInfo(LearnRecordInfo learnRecordInfo);

    /**
     * 删除录音学习
     *
     * @param id 录音学习主键
     * @return 结果
     */
    public int deleteLearnRecordInfoById(Long id);

    /**
     * 批量删除录音学习
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLearnRecordInfoByIds(Long[] ids);
}
